﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
//using Logger = Garlic.CC.Utility.Logger;
using Garlic.DAL;
using Garlic.Infrustructure;
using DAL.BusinessDeal;
namespace BLL.BusinessDeal
{
    public class StSpDeleteRecordsManager
    {
        private StSpDeleteRecordsDAL DAL = new StSpDeleteRecordsDAL();

        public string SpDeleteRecords(object P_PK_ID, string P_TableName)
        {
            try
            {
                return DAL.SpDeleteRecords(P_PK_ID, P_TableName);
            }
            catch (Exception e)
            {
                Logger.Instance.Error(this, "写入数据出错", e);
                throw;
            }
        }
    }
}
